package com.ccys.db.vo.doctor.consultStage;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author：XLY
 * @Date：2024/2/26 0026
 */
@Data
public class GetPatienInfotListingVo {


    @JsonProperty("total_page")
    private Integer totalPage;    //": 2,

    @JsonProperty("current_page")
    private Integer currentPage;    //": 2,

    private List<PatientVo> patients;


    @Data
    public static class PatientVo {

        @JsonProperty("member_id")
        private String memberId;     //": "bf29230e-26d7-4539-a2c4-7381e2ed28c2",

        @JsonProperty("member_first_name")
        private String memberFirstName;     //": "Athel",

        @JsonProperty("member_last_name")
        private String memberLastName;     //": "",

        @JsonProperty("child_id")
        private String childId;     //": "",

        @JsonProperty("child_first_name")
        private String childFirstName;     //": "",

        @JsonProperty("child_last_name")
        private String childLastName;     //": "",

        @JsonProperty("booking_type")
        private String bookingType;     //": "Self",

        @JsonProperty("allergies")
        private List<AllergyVo> allergies;     //": null

    }


    @Data
    public static class AllergyVo {
        private String name;
    }
}
